3.3078 \(\int (a+b x)^m (c+d x)^{-4-m} (e+f x)^p \, dx\)

Optimal. Leaf size=133 \[ \frac{b^3 (a+b x)^{m+1} (c+d x)^{-m} (e+f x)^p \left (\frac{b (c+d x)}{b c-a d}\right )^m \left (\frac{b (e+f x)}{b e-a f}\right )^{-p} F_1\left (m+1;m+4,-p;m+2;-\frac{d (a+b x)}{b c-a d},-\frac{f (a+b x)}{b e-a f}\right )}{(m+1) (b c-a d)^4} \]

[Out]

(b^3*(a + b*x)^(1 + m)*((b*(c + d*x))/(b*c - a*d))^m*(e + f*x)^p*AppellF1[1 + m,
 4 + m, -p, 2 + m, -((d*(a + b*x))/(b*c - a*d)), -((f*(a + b*x))/(b*e - a*f))])/
((b*c - a*d)^4*(1 + m)*(c + d*x)^m*((b*(e + f*x))/(b*e - a*f))^p)

_______________________________________________________________________________________

Rubi [A]  time = 0.375191, antiderivative size = 133, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.115 \[ \frac{b^3 (a+b x)^{m+1} (c+d x)^{-m} (e+f x)^p \left (\frac{b (c+d x)}{b c-a d}\right )^m \left (\frac{b (e+f x)}{b e-a f}\right )^{-p} F_1\left (m+1;m+4,-p;m+2;-\frac{d (a+b x)}{b c-a d},-\frac{f (a+b x)}{b e-a f}\right )}{(m+1) (b c-a d)^4} \]

Antiderivative was successfully verified.

[In]  Int[(a + b*x)^m*(c + d*x)^(-4 - m)*(e + f*x)^p,x]

[Out]

(b^3*(a + b*x)^(1 + m)*((b*(c + d*x))/(b*c - a*d))^m*(e + f*x)^p*AppellF1[1 + m,
 4 + m, -p, 2 + m, -((d*(a + b*x))/(b*c - a*d)), -((f*(a + b*x))/(b*e - a*f))])/
((b*c - a*d)^4*(1 + m)*(c + d*x)^m*((b*(e + f*x))/(b*e - a*f))^p)

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 76.7409, size = 104, normalized size = 0.78 \[ \frac{b^{3} \left (\frac{b \left (- c - d x\right )}{a d - b c}\right )^{m} \left (\frac{b \left (- e - f x\right )}{a f - b e}\right )^{- p} \left (a + b x\right )^{m + 1} \left (c + d x\right )^{- m} \left (e + f x\right )^{p} \operatorname{appellf_{1}}{\left (m + 1,- p,m + 4,m + 2,\frac{f \left (a + b x\right )}{a f - b e},\frac{d \left (a + b x\right )}{a d - b c} \right )}}{\left (m + 1\right ) \left (a d - b c\right )^{4}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((b*x+a)**m*(d*x+c)**(-4-m)*(f*x+e)**p,x)

[Out]

b**3*(b*(-c - d*x)/(a*d - b*c))**m*(b*(-e - f*x)/(a*f - b*e))**(-p)*(a + b*x)**(
m + 1)*(c + d*x)**(-m)*(e + f*x)**p*appellf1(m + 1, -p, m + 4, m + 2, f*(a + b*x
)/(a*f - b*e), d*(a + b*x)/(a*d - b*c))/((m + 1)*(a*d - b*c)**4)

_______________________________________________________________________________________

Mathematica [B]  time = 3.44702, size = 300, normalized size = 2.26 \[ \frac{(m+2) (b c-a d) (b e-a f) (a+b x)^{m+1} (c+d x)^{-m-4} (e+f x)^p F_1\left (m+1;m+4,-p;m+2;\frac{d (a+b x)}{a d-b c},\frac{f (a+b x)}{a f-b e}\right )}{b (m+1) \left ((m+2) (b c-a d) (b e-a f) F_1\left (m+1;m+4,-p;m+2;\frac{d (a+b x)}{a d-b c},\frac{f (a+b x)}{a f-b e}\right )-(a+b x) \left (f p (a d-b c) F_1\left (m+2;m+4,1-p;m+3;\frac{d (a+b x)}{a d-b c},\frac{f (a+b x)}{a f-b e}\right )+d (m+4) (b e-a f) F_1\left (m+2;m+5,-p;m+3;\frac{d (a+b x)}{a d-b c},\frac{f (a+b x)}{a f-b e}\right )\right )\right )} \]

Warning: Unable to verify antiderivative.

[In]  Integrate[(a + b*x)^m*(c + d*x)^(-4 - m)*(e + f*x)^p,x]

[Out]

((b*c - a*d)*(b*e - a*f)*(2 + m)*(a + b*x)^(1 + m)*(c + d*x)^(-4 - m)*(e + f*x)^
p*AppellF1[1 + m, 4 + m, -p, 2 + m, (d*(a + b*x))/(-(b*c) + a*d), (f*(a + b*x))/
(-(b*e) + a*f)])/(b*(1 + m)*((b*c - a*d)*(b*e - a*f)*(2 + m)*AppellF1[1 + m, 4 +
 m, -p, 2 + m, (d*(a + b*x))/(-(b*c) + a*d), (f*(a + b*x))/(-(b*e) + a*f)] - (a
+ b*x)*((-(b*c) + a*d)*f*p*AppellF1[2 + m, 4 + m, 1 - p, 3 + m, (d*(a + b*x))/(-
(b*c) + a*d), (f*(a + b*x))/(-(b*e) + a*f)] + d*(b*e - a*f)*(4 + m)*AppellF1[2 +
 m, 5 + m, -p, 3 + m, (d*(a + b*x))/(-(b*c) + a*d), (f*(a + b*x))/(-(b*e) + a*f)
])))

_______________________________________________________________________________________

Maple [F]  time = 0.375, size = 0, normalized size = 0. \[ \int \left ( bx+a \right ) ^{m} \left ( dx+c \right ) ^{-4-m} \left ( fx+e \right ) ^{p}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((b*x+a)^m*(d*x+c)^(-4-m)*(f*x+e)^p,x)

[Out]

int((b*x+a)^m*(d*x+c)^(-4-m)*(f*x+e)^p,x)

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{-m - 4}{\left (f x + e\right )}^{p}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x + a)^m*(d*x + c)^(-m - 4)*(f*x + e)^p,x, algorithm="maxima")

[Out]

integrate((b*x + a)^m*(d*x + c)^(-m - 4)*(f*x + e)^p, x)

_______________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \[{\rm integral}\left ({\left (b x + a\right )}^{m}{\left (d x + c\right )}^{-m - 4}{\left (f x + e\right )}^{p}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x + a)^m*(d*x + c)^(-m - 4)*(f*x + e)^p,x, algorithm="fricas")

[Out]

integral((b*x + a)^m*(d*x + c)^(-m - 4)*(f*x + e)^p, x)

_______________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x+a)**m*(d*x+c)**(-4-m)*(f*x+e)**p,x)

[Out]

Timed out

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{-m - 4}{\left (f x + e\right )}^{p}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x + a)^m*(d*x + c)^(-m - 4)*(f*x + e)^p,x, algorithm="giac")

[Out]

integrate((b*x + a)^m*(d*x + c)^(-m - 4)*(f*x + e)^p, x)